package com.rr.prometheus8081.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author RR
 * @date 2021/7/17 18:14
 */
@RestController
public class PrometheusController {

    private static final Logger log = LoggerFactory.getLogger(PrometheusController.class);

    @GetMapping("/info")
    public String info(){
        log.info("info日志");
        log.debug("debug日志");
        return "hello actuator";
    }
}
